package com.feinno.urcs.group.main;

import org.helium.framework.spi.Bootstrap;

/**
 * Created by Lei Gao on 9/9/15.
 */
public class GroupListBootstrap {
	public static void main(String[] args) throws Exception {
		String fmt = "org.slf4j.simpleLogger.log.%s";
		System.setProperty(String.format(fmt, "com.feinno.rpc.channel.tcp.RpcTcpClientHandler"), "error");
		System.setProperty(String.format(fmt, "com.feinno.rpc.channel.tcp.RpcTcpConnection"), "error");
		System.setProperty(String.format(fmt, "com.feinno.superpojo.generator.CodeGenerator"), "warn");
		Bootstrap.INSTANCE.addPath("group-as-main/build/resources/main/META-INF");
		Bootstrap.INSTANCE.addPath("group-as-main/build/resources/main/config");
		Bootstrap.INSTANCE.initialize("bootstrap-grouplist.xml");
		System.out.println("============ BOOTSTRAP START OK =================");
	}
}
